package com.jeeplus.servicecenter.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jeeplus.servicecenter.domain.AssociationApply;
import com.jeeplus.servicecenter.mapper.AssociationApplyMapper;
import com.jeeplus.servicecenter.service.dto.AssociationApplyDTO;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class AssociationApplyService
        extends ServiceImpl<AssociationApplyMapper,AssociationApply> {
    public void saveApply(AssociationApplyDTO associationApplyDTO){
        AssociationApply associationApply = associationApplyDTO.getAssociationApply();
        super.saveOrUpdate(associationApply);
    }
}
